﻿<html>
    <head>
        <meta charset="utf-8">
            <!--重要meta, 必须!-->
            <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,shrink-to-fit=no" name="viewport"/>
            <title>
                SUBWAY
            </title>
        </meta>
    </head>
    <body>
        <div id="mysubway">
        </div>
        <script src="http://webapi.amap.com/subway?v=1.0&key=02a37b38c4b33a671f1cd1584b54adc8&callback=cbk">
        </script>
        <script type="text/javascript">
            //开启easy模式, 直接完成地铁图基本功能, 无需自己写交互 
            window.cbk = function(){ var mysubway = subway("mysubway", { adcode: 3100}); };
        </script>
    </body>
</html>